<?php
$ac1="100019";
$pw1="jjl4yk11f82ce6c0f33a5c003f2fec56"; //票付通账号跟密码
$s1=new SoapClient("http://open.12301.cc/openService/MXSE.wsdl",array('encoding' =>'UTF-8','cache_wsdl' => 0));//票付通接口地址

//查询景区列表
echo "<pre>";
//print_r($s1->__soapCall("Get_ScenicSpot_List",array("ac"=>$ac1,"pw"=>$pw1,"in0"=>100,"in2"=>"")));

//查询景区详细信息
//print_r($s1->__soapCall("Get_ScenicSpot_Info",array("ac"=>$ac1,"pw"=>$pw1,"in0"=>5785)));

//门票列表
//print_r($s1->__soapCall("Get_Ticket_List",array("ac"=>$ac1,"pw"=>$pw1,"in0"=>5785,"in1"=>11459)));

//动态价格、库存上限获取
print_r($s1->__soapCall("Dynamic_Price_And_Storage",array("ac"=>$ac1,"pw"=>$pw1,"in0"=>11278,"in1"=>"2015-09-28","in2"=>1,"in3"=>1,"in4"=>1)));

//提交订单
//print_r($s1->__soapCall("PFT_Order_Submit",array("ac"=>$ac1,"pw"=>$pw1,"in0"=>5785,"in1"=>11459,"in2"=>"20122dd030236","in3"=>100,"in4"=>1,"in5"=>"2015-01-29","in6"=>"pzp","in7"=>"15959110796","in8"=>"","in9"=>1,"in10"=>2,"in11"=>0,"in12"=>"","in13"=>"","in14"=>0,"in15"=>0,"in16"=>113,"in17"=>"350321199123456789")));

//订单查询
//print_r($s1->__soapCall("Order_Globle_Search",array("ac"=>$ac1,"pw"=>$pw1,"in0"=>"","in1"=>"5785","in2"=>"","in3"=>"","in4"=>"","in5"=>"","in6"=>"","in7"=>"","in8"=>"","in9"=>"","in10"=>"","in11"=>"","in12"=>"20152dd030236","in13"=>"","in14"=>"","in15"=>"","in16"=>"","in17"=>"","in18"=>"","in19"=>"","in20"=>"","in21"=>"","in22"=>"0","in23"=>"","in24"=>"","in25"=>"","in26"=>"",)));

//订单短信发送、重发接口
//print_r($s1->__soapCall("reSend_SMS_Global_PL",array("ac"=>$ac1,"pw"=>$pw1,"in0"=>'票付通订单号')));

//修改、取消订单
//print_r($s1->__soapCall("Order_Change_Pro",array("ac"=>$ac1,"pw"=>$pw1,"in0"=>'票付通订单号',"in1"=>0,"in2"=>'')));

//凭证码查看
//print_r($s1->__soapCall("Terminal_Code_Verify",array("ac"=>$ac1,"pw"=>$pw1,"in0"=>"票付通订单号")));

//资金余额查看
//print_r($s1->__soapCall("PFT_Member_Fund",array("ac"=>$ac1,"pw"=>$pw1,"in0"=>1,"in1"=>4)));

//echo  time();
?>